net/http.Transport.replaceReqCanceler (method)
5 uses
net/http (current package)
transport.go#L1164: func (t *Transport) replaceReqCanceler(key cancelKey, fn func(error)) bool {
transport.go#L2168: replaced := pc.t.replaceReqCanceler(rc.cancelKey, nil)
transport.go#L2240: replaced := pc.t.replaceReqCanceler(rc.cancelKey, nil) // before pc might return to idle pool
transport.go#L2568: if !pc.t.replaceReqCanceler(req.cancelKey, pc.cancelRequest) {
transport.go#L2671: if canceled || pc.t.replaceReqCanceler(req.cancelKey, nil) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |